package com.heima.apis.article;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-user")
public interface IUserClient {

    //用这个feign接口给admin送数据
    @PostMapping("/admin/api/v1/auth/list")
    public ResponseResult listApuser(@RequestBody AuthDto authDto);

   //审核失败
    @PostMapping("/admin/api/v1/auth/authFail")
    public ResponseResult ApuserByidRealname(@RequestBody AuthDto authDto);

    @PostMapping("/admin/api/v1/auth/authPass")
    public ResponseResult authPass(@RequestBody AuthDto authDto);






}
